package com.gengzp.common.config;

import com.gengzp.permission.core.PermissionExemptUrisFetcher;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ClassName PermissionConfig
 * @Description 权限校验配置类
 * @Author gengzp
 * @Date 2025/5/22 0:34
 */
@Component
public class PermissionConfig implements PermissionExemptUrisFetcher {

    @Override
    public List<String> getPermissionExemptUris() {
        return List.of("/document"); // 权限框架忽略的uri
    }

}
